/**
 * Copyright (C) 2021 - 2031 O-Cubes Co., Ltd.
 */

/****************************************************************
 *  @file    gpio_test.c
 *  @brief   GPIO testcase source file
 *  @version v1.0
 *  @date    03. Apr. 2023
 ****************************************************************/

#include "printf.h"
#include "hal_api.h"

int32_t test_efuse(void)
{
	uint8_t i, j;
	uint8_t data[32] = {0};

	printf("\r\n[EFUSE]: TEST START\r\n");

	Hal_Efuse_Read(0, data, 32);

	printf("EFUSE DATA READ:\r\n");
	for (i = 0; i < 32; i += 4) {
		for (j = 0; i < 4; j++) {
			printf("0x%02x ", data[i+j]);
		}
		printf("\r\n");
	}

	printf("[EFUSE]: TEST END\r\n");

	return 0;
}

